<template>
  <div>App</div>
  <div>
    <button @click="addCount">{{count}}</button>
    <button @click="addNum">{{num}}</button>
  </div>
</template>

<script>

import HookCount from './Hooks/Count'
import HookNum from './Hooks/Num'
export default {
  name: 'App',
  setup(){
    const CountState = HookCount();
    const Numstate = HookNum();
    return {
      ...CountState,
      ...Numstate
    }
  }
  
}
</script>

<style>

</style>
